//
//  ViewController.m
//  test
//
//  Created by Vincent on 2017/3/25.
//  Copyright © 2017年 Vincent. All rights reserved.
//

#import "ViewController.h"





@interface ViewController ()



@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    for(int i=0;i<10;i++){
        UITextField *field = [UITextField new];
        field.frame = CGRectMake(10, 100+(40+10)*i, self.view.bounds.size.width-20, 40);
        field.backgroundColor = [UIColor redColor];
        [self.view addSubview:field];
    }
    
    
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
